//
// Copyright (c) 2024 BPer
//
#ifndef INCLUDE_BPERAUDIODEV_BPERAUDIODEVICEQUERY_H_
#define INCLUDE_BPERAUDIODEV_BPERAUDIODEVICEQUERY_H_
#include <vector>
#include <string>

using namespace std;
struct BPerAudioDeivce{
	string name;
	string deviceName;
	string subName;
	int32_t aIndex;
	int32_t aSubIndex;
	int32_t aIdx;
};
class BPerAudioDeviceQuery {
public:
	BPerAudioDeviceQuery();
	virtual ~BPerAudioDeviceQuery();
  	vector<BPerAudioDeivce>* getCaptureDeviceList();
    vector<BPerAudioDeivce>* getPlayDeviceList();
private:
    vector<BPerAudioDeivce> m_captureDeviceList;
    vector<BPerAudioDeivce> m_playDeviceList;
    void getDeviceList(int32_t stream,vector<BPerAudioDeivce>* plist);

};

#endif /* INCLUDE_BPERAUDIODEV_BPERAUDIODEVICEQUERY_H_ */
